package com.zenith.api;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
* 此服务是入口服务，所有的接口请求都是通过此服务向其他服务进行转发的
* */
@SpringBootApplication(exclude = {
    org.springframework.boot.actuate.autoconfigure.tracing.zipkin.ZipkinAutoConfiguration.class
})
@EnableFeignClients
@ComponentScan(basePackages = {"com.zenith.api", "com.zenith.common"})
public class ApiApplication {
    public static void main(String[] args) {
        SpringApplication.run(ApiApplication.class, args);
    }
}